package com.zhihuishu.micro.course.openapi.course.dto;

import java.util.Date;

/**
 * 文件夹对象
 * @author	jiangli
 */
public class CourseFolderDto extends BaseDto{

	private static final long serialVersionUID = 1L;

    private Integer id; // 文件夹id
    private String name; //文件夹名称
    private Date createTime;//创建时间
    private Long courseId;//课程id
    private Long parentId;//父文件夹id;
    private Integer privilege;//文件夹的权限 0 所有人可看 1 仅老师可看 默认 0;

    public Integer getPrivilege() {
        return privilege;
    }

    public void setPrivilege(Integer privilege) {
        this.privilege = privilege;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Long getParentId() {
        return parentId;
    }

    @Override
    public String toString() {
        return "CourseFolderDto{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", createTime=" + createTime +
                ", courseId=" + courseId +
                ", parentId=" + parentId +
                ", privilege=" + privilege +
                "} " + super.toString();
    }

    public void setParentId(Long parentId) {


        this.parentId = parentId;
    }
}
